package com.vehicle.mapper;

import com.vehicle.bean.Violation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.models.auth.In;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-05-14
 */
@Component
public interface ViolationMapper extends BaseMapper<Violation> {
public Boolean updateViolationMessage(Integer vioId,String message);
public Boolean updateViolationProcessed(Integer vioId);
    public Integer getViolationNumber(Integer carId);

}
